/**
 * @file windowcontainerwidget.cpp
 * @author huangxb
 * @email 18228033207@163.com
 * @date 2025-07-09
 * @brief 窗口容器视图
 */
#include "windowcontainerwidget.h"
#include "ui_windowcontainerwidget.h"
#include "tipwindow.h"

CWindowContainerWidget::CWindowContainerWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::CWindowContainerWidget)
{
    ui->setupUi(this);
}

CWindowContainerWidget::~CWindowContainerWidget()
{
    delete ui;
}

void CWindowContainerWidget::on_m_successTip_pushButton_clicked()
{
    auto pt = rect().center();
    CTipWindow::ShowSuccessTip(pt, tr("Operate success!"), this);
}

